package com.alex.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * program: esdemo
 * description: 分页对象封装
 * author: X-Pacific zhang
 * create: 2019-01-21 17:06
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T> implements Serializable {
    List<T> list;
    private String uuid;
    private int totalPages = 0;

    private long totalElements = 0;//总条数

    private Object[] sortValues;

    private int currentPage;

    private int pageSize;

    /**
     * 课题思路助手 + 外文核心
     */
    private List<AggsKeyValue> drug;//药物
    private List<AggsKeyValue> gene;//基因
    private List<AggsKeyValue> pathway;//通路
    private List<AggsKeyValue> disease;//疾病

    /**
     * 中文 Pubmed
     */
    private List<AggsKeyValue> jcrif;//影响因子分布,这个范围是固定的
    private List<AggsKeyValue> zkydalei;//中科院大类
    private List<AggsKeyValue> pt;//文献类型
    private List<AggsKeyValue> journal;//期刊
    private List<AggsKeyValue> jcrquartile;//jcr分区
    private List<AggsKeyValue> year;
    private List<AggsKeyValue> cnyear;
    private List<AggsKeyValue> unit;//机构
    private List<AggsKeyValue> country;//国家
    private List<AggsKeyValue> author;//作者


}
